package com.catsic.core.form;

import java.io.Serializable;

import com.catsic.base.status.Status;
import com.catsic.base.tree.TreeForm;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_NULL)
public class ResourceForm extends TreeForm implements Serializable{
	
	private static final long serialVersionUID = 1907778288744051082L;

	private String assembly;

	private String jsFunction;
	
	private String icon;
	
	private String pattern;
	
	private String views;
	
	private String menuCode;
	
	private String menuName;
	
	private String drawerCode;
	
	private String drawerName;
	
	private Status status = Status.有效;
	
	private String revent;
	
	private String authArea;
	
	private String authAreaCode;

	public String getAssembly() {
		return assembly;
	}

	public void setAssembly(String assembly) {
		this.assembly = assembly;
	}

	public String getJsFunction() {
		return jsFunction;
	}

	public void setJsFunction(String jsFunction) {
		this.jsFunction = jsFunction;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getPattern() {
		return pattern;
	}

	public void setPattern(String pattern) {
		this.pattern = pattern;
	}

	public String getViews() {
		return views;
	}

	public void setViews(String views) {
		this.views = views;
	}

	public String getMenuCode() {
		return menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getDrawerCode() {
		return drawerCode;
	}

	public void setDrawerCode(String drawerCode) {
		this.drawerCode = drawerCode;
	}

	public String getDrawerName() {
		return drawerName;
	}

	public void setDrawerName(String drawerName) {
		this.drawerName = drawerName;
	}

	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public String getRevent() {
		return revent;
	}

	public void setRevent(String revent) {
		this.revent = revent;
	}

	public String getAuthArea() {
		return authArea;
	}

	public void setAuthArea(String authArea) {
		this.authArea = authArea;
	}

	public String getAuthAreaCode() {
		return authAreaCode;
	}

	public void setAuthAreaCode(String authAreaCode) {
		this.authAreaCode = authAreaCode;
	}
}
